getContentCaptureSession

Gets the session used to notify content capture events. Compatibility behavior:

  • SDK 29 and above, this method matches platform behavior.
  • SDK 28 and below, this method always return null.

Return

session explicitly set by setContentCaptureSession, inherited by ancestors, default session or null if content capture is disabled for this view.

Parameters

v

The View against which to invoke the method.